package com.ruoyi.project.yf.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class MyStockVo {
    /** 自增ID */
    private Long id;

    /** 名称 */
    private String name;

    /** 股票编号 */
    private Long stockId;

    /** 当前价格 */
    private Float curPrice;

    /** 红线价格 */
    private Float red;

    /** 绿线价格 */
    private Float green;

    /** 生命线价格 */
    private Float life;

    /** 上轨价格 */
    private Float upper;

    /** 下轨价格 */
    private Float lower;

    /** 昨日收盘价 */
    private Float lastClose;

    /** 当日最高价 */
    private Float highPrice;

    /** 当日最低价 */
    private Float lowerPrice;

    /** 百分比 */
    private Float percent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public  String remark;

    private Float cost;


    private Float earnPercent;

    public Float getEarnPercent() {
        return earnPercent;
    }

    public void setEarnPercent(Float earnPercent) {
        this.earnPercent = earnPercent;
    }

    public Float getCost() {
        return cost;
    }

    public void setCost(Float cost) {
        this.cost = cost;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getStockId() {
        return stockId;
    }

    public void setStockId(Long stockId) {
        this.stockId = stockId;
    }

    public Float getCurPrice() {
        return curPrice;
    }

    public void setCurPrice(Float curPrice) {
        this.curPrice = curPrice;
    }

    public Float getRed() {
        return red;
    }

    public void setRed(Float red) {
        this.red = red;
    }

    public Float getGreen() {
        return green;
    }

    public void setGreen(Float green) {
        this.green = green;
    }

    public Float getLife() {
        return life;
    }

    public void setLife(Float life) {
        this.life = life;
    }

    public Float getUpper() {
        return upper;
    }

    public void setUpper(Float upper) {
        this.upper = upper;
    }

    public Float getLower() {
        return lower;
    }

    public void setLower(Float lower) {
        this.lower = lower;
    }

    public Float getLastClose() {
        return lastClose;
    }

    public void setLastClose(Float lastClose) {
        this.lastClose = lastClose;
    }

    public Float getHighPrice() {
        return highPrice;
    }

    public void setHighPrice(Float highPrice) {
        this.highPrice = highPrice;
    }

    public Float getLowerPrice() {
        return lowerPrice;
    }

    public void setLowerPrice(Float lowerPrice) {
        this.lowerPrice = lowerPrice;
    }

    public Float getPercent() {
        return percent;
    }

    public void setPercent(Float percent) {
        this.percent = percent;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}

